﻿using System.Linq;
using System.Collections.Generic;
using EntityModel;


namespace Business
{
    public class IDSSortService : BusinessBase<IDSSort, UserModel>
    {
        public List<IDSSort> GetAllCategory()
        {
            return this.retreiveHelper.GetRepositoryWithoutTracking<IDSSort>()
                .Where(t => t.IsDisplayed ?? false).OrderBy(t => t.SortOrder).ToList();
        }
    }
}
